#include <REGX52.H>
#include "intrins.h"
void Delay_ms(unsigned int ms)	//@12.000MHz
{
	unsigned char i, j;

	while(ms>0){
	i = 2;
	j = 239;
	do
	{
		while (--j);
	} while (--i);
	ms--;}
}